{extend name="public/wap_base" /}
{block name="css"}
<link href="/static/css/wap/index.css" rel="stylesheet">
<link href="/static/css/wap/cdetail.css" rel="stylesheet">
<link href="/static/css/wap/news.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css" />
{/block}
{block name="js"}

{/block}
{block name="title"}
资讯详情
{/block}

{block name="main"}

<!-- 轮播图 -->
<div class="swiper-container banner-swiper">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="/static/images/wap/04.jpg" alt="banner1" /></div>
    </div>
    <div class="swiper-pagination"></div>
</div>
<!-- 资讯列表 -->
<div class="block-white" style="margin-top: 0px">

    <div class="news-detail">
        <!-- 标题 -->
        <h1 class="news-title">{$data.title}</h1>

        <!-- 时间 -->
        <div class="news-meta">发布时间：{$data.show_time|date='Y-m-d' }</div>

        <!-- 详情内容 -->
        <div class="news-content">
            {$data.content | raw}
        </div>
    </div>
</div>

<!-- 推荐资讯 -->
<div class="block-white recommend-news">
    <div class="section-title" style="padding: 0px">
        <span class="section-marker"></span>
        <div class="section-texts">
            <h2>热门资讯</h2>
        </div>
    </div>

    <ul class="news-list">
        <li><a href="#">AI 将如何改变未来城市？</a></li>
        <li><a href="#">5G 技术在医疗中的应用探索</a></li>
        <li><a href="#">绿色能源发展趋势分析</a></li>
        <li><a href="#">智能制造的下一站：数字孪生</a></li>
    </ul>
</div>


<script src="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.js"></script>
<script src="/static/js/wap/index.js"></script>
{/block}